package cn.edu.zafu.bigdata.x.bd121.operations;

/**
 * 数学运算测试类
 *
 * @author 202211090121
 */
public class TestMathOperations {

    public static void main(String[] args) {
        System.out.println(MathOperations.add(1, 2));
        // 此处出现了浮点数精度问题，导致结果不准确
        System.out.println(MathOperations.add(1.1, 2.2));
        System.out.println(MathOperations.add(1, 2, 3));
    }
}
